Operation based on consolidated memory region description data

ABSTRACT

Various embodiments enable a memory sub-system to perform a read operation based on consolidated memory region description data, which can be generated based on a memory region description data (e.g., SGL) provided by a host system for the read operation.

TECHNICAL FIELD

Embodiments of the disclosure relate generally to memory devices and,more specifically, to a memory operation, such as a read operation,performed based on consolidated memory region description data.

BACKGROUND

A memory sub-system can include one or more memory devices that storedata. The memory devices can be, for example, non-volatile memorydevices and volatile memory devices. In general, a host system canutilize a memory sub-system to store data at the memory devices and toretrieve data from the memory devices.

Non-Volatile Memory Express (NVMe) is an example of a memory protocolthat supports interactions between memory sub-systems and host systems.Recent versions of the NVMe protocol support a Scatter Gather List(SGL), which is a mechanism for transferring commands and data between ahost system and a memory sub-system. A SGL can facilitate processing ofa read or a write request by a memory sub-system, where the SGL candescribe a list of memory regions on the host system that the memorysub-system uses to send back data to the host system (e.g., over aperipheral component interconnect express (PCIe) interface) inconnection with a read request, or the memory sub-system uses to obtain(e.g., read) data from the host system in connection with a writerequest. Each of the memory regions on the host system can function as abuffer (e.g., a SGL buffer) that the memory sub-system uses to send databack to the host system. The SGL typically comprises a linked listconnecting the buffers, and each buffer can vary in size (e.g., as smallas 32 bytes). In some instances, a host system establishes a largenumber of buffers on the host system, which can cause the buffers to bespread around local memory of the host system (e.g., based on spaceavailability). This can result in the memory sub-system having totraverse over (e.g., walk through) the SGL often and repeatedly inconnection with a single SGL-based operation.

BRIEF DESCRIPTION OF THE DRAWINGS

The disclosure will be understood more fully from the detaileddescription given below and from the accompanying drawings of variousembodiments of the disclosure. The drawings, however, should not betaken to limit the disclosure to the specific embodiments, but are forexplanation and understanding only.

FIG. 1 is a block diagram illustrating an example computing system thatincludes a memory sub-system, in accordance with some embodiments of thepresent disclosure.

FIGS. 2 and 3 are flow diagrams of example methods for performing amemory operation based on consolidated data describing one or morememory regions on a host system, in accordance with some embodiments ofthe present disclosure.

FIGS. 4 and 5 is are diagrams illustrating examples of generatingconsolidate memory region description data, in accordance with someembodiments of the present disclosure.

FIG. 6 provide an interaction diagram illustrating interactions betweencomponents of a computing environment in the context of some embodimentsin which a method for performing a memory read performing a memory readoperation based on consolidated data describing one or more memoryregions on a host system as described herein is performed.

FIG. 7 is a block diagram of an example computer system in whichembodiments of the present disclosure may operate.

DETAILED DESCRIPTION

Aspects of the present disclosure are directed to a memory operationperformed based on consolidated memory region data. In particular,various embodiments enable a memory sub-system to perform a memory readoperation based on consolidated data describing one or more memoryregions (e.g., data comprising a consolidated listing of memory regions)on a host system, where the one or more memory regions are used by thememory sub-system as one or more buffers for sending (e.g.,transferring) read data to the host system. A memory sub-system can be astorage device, a memory module, or a hybrid of a storage device andmemory module. Examples of storage devices and memory modules aredescribed below in conjunction with FIG. 1. In general, a host systemcan utilize a memory sub-system that includes one or more components,such as memory devices that store data. The host system can send accessrequests to the memory sub-system, such as to store data at the memorysub-system and to read data from the memory sub-system.

The host system can send access requests (e.g., write command, readcommand) to the memory sub-system, such as to store data on a memorydevice at the memory sub-system, read data from the memory device on thememory sub-system, or write/read constructs (e.g., such as submissionand completion queues) with respect to a memory device on the memorysub-system. The data to be read or written, as specified by a hostrequest, is hereinafter referred to as “host data.” A host request caninclude logical address information (e.g., logical block address (LBA),namespace) for the host data, which is the location the host systemassociates with the host data. The logical address information (e.g.,LBA, namespace) can be part of metadata for the host data. Metadata canalso include error handling data (e.g., error-correcting code (ECC)codeword, parity code), data version (e.g., used to distinguish age ofdata written), valid bitmap (which LBAs or logical transfer unitscontain valid data), and so forth.

As used herein, a memory device can be a non-volatile memory device.

Presently, memory sub-systems can use conventional technologies tofacilitate data transfers by pushing or pulling data from one or morememory regions (e.g., on a local memory) of a host system. For instance,as described herein, Non-Volatile Memory Express (NVMe) is an example ofa memory protocol that supports interactions between memory sub-systemsand host systems. Recent versions of the NVMe protocol support a ScatterGather List (SGL), which is a mechanism for transferring commands anddata between a host system and a memory sub-system. A host system canuse Scatter Gather List (SGL) to facilitate a read request by a memorysystem, where the SGL can describe a list of memory regions on the hostsystem that the memory system uses to send (e.g., transfer) therequested data back to the host system (e.g., over a peripheralcomponent interconnect express (PCIe) interface). Each of the memoryregions on the host system can function as a buffer (e.g., a SGL buffer)that the memory sub-system uses to send data back to the host system.The SGL typically comprises a linked list connecting the buffers, andeach buffer can vary in size (e.g., as small as 1 byte according to aNVMe standard). In some instances, a host system establishes a largenumber of buffers on the host system, which can cause the buffers to bespread around local memory of the host system (e.g., based on spaceavailability). This can result in the memory sub-system having totraverse over (e.g., walk through) the SGL often and repeatedly inconnection with a single SGL-based operation.

Generally, each individual memory request (e.g., read or write request)generated by a host system can have a respective SGL stored on the hostsystem, which the memory system can access and use in responding to theindividual request. Additionally, each of the memory regions describedby the SGL can be differently (e.g., variably) sized and located atdifferent locations (e.g., logical or physical locations) on localmemory of the host system. A given SGL usually comprises a list ofdescriptors that each describes a different memory region on the hostsystem, and the size of the given SGL can vary based on its associatedrequest. For instance, a host system can generate or setup a largenumber of small memory regions on local memory of the host system inconnection with a given read request (e.g., SGL-based read request) sentto a memory system by the host system. The size and/or number of SGLsbeing handled by a conventional memory system at a given time can renderit impossible or impractical for the memory system to concurrently storeall portions of the SGLs on the memory system (e.g., at least notwithout increasing the memory space used on the memory system to storethe SGLs). As a consequence, a conventional memory systems usuallyaccesses (e.g., read and walk-through or traverse) a relevant SGL fromthe host system (e.g., as buffer space permits) multiple times whenperforming a memory operation in connection with the given SGL. Therepeat access of the relevant SGL (and other SGLs for other memoryoperations) by the conventional memory system can generate a lotoverhead for the conventional memory system as the related readoperations are performed, which in turn can reduce operationalefficiency of the conventional memory system.

Aspects of the present disclosure address the above and otherdeficiencies by performing a read or write operation on a memorysub-system based on consolidated memory region description data, whichcan be generated based on a memory region description data (e.g., SGL)provided by a host system for the read or write operation. For instance,when a host system sends a request (e.g., command) to read data from amemory sub-system, a host system can: create or setup a set of memoryregions (e.g., buffers) on the host system to facilitate sending (e.g.,transfer) of read data from the memory sub-system to the host system inresponse to the request; and generate host memory region descriptiondata (e.g., SGL for the request, where the SGL is stored on the hostsystem) that describes the set of memory regions created/setup on thehost system. In response to the request, various embodiments access thehost memory region description data (e.g., SGL) from the host system.The host memory region description data can be separate from therequest, stored on the host system, buffered on the memory sub-system asit is accessed from the host system, and accessed by the memorysub-system over a data bus (e.g., PCIe bus) between the host system andmemory sub-system. For various embodiments, the host memory regiondescription data is larger in data size than a buffer used on the memorysub-system to store such data in connection with a read request. Basedon the host memory region description data, various embodiments identifyone or more contiguous memory regions in the set of memory regions,where each contiguous memory region is formed by two or more memoryregions in the set of memory regions that are located sequentiallyadjacent on (e.g., the local memory of) the host system. Variousembodiments generate (and store on the memory sub-system) consolidatedmemory region description data that comprises a single memory regiondescriptor for each contiguous memory region identified in the list ofmemory regions described by the host memory region description data, andcomprises a single memory descriptor for each memory region in the setof memory regions that is not part of one of the identified contiguousmemory regions. In this way, the consolidated memory region descriptiondata can represent a simplified version of the host memory regiondescription data provided by the host system.

Though various embodiments are described herein with respect to readrequests from a host system or device, various embodiments support writerequests in similar manner. Generally, for write requests, a memorysub-system can retrieve data from a host system in order, so the memorysub-system does not generally have to traverse (e.g., walk through) thehost memory region description data (e.g., SGL) as often as for readrequests. Notwithstanding, consolidated memory region description dataas described herein can benefit a memory sub-system for both read andwrite requests, as the consolidated memory region description data canreduce storage used on the memory sub-system and can assist in data busoptimization (e.g., render better use of Transaction Layer Packets(TLPs) sent over a PCIe bus).

The consolidated memory region description data generated can be smallerin data size than the host memory region description data provided bythe host system, which can enable the consolidated memory regiondescription data to be traversed faster than the host memory regiondescription data. Additionally, the smaller data size can permit theconsolidated memory region description data to be entirely stored on(e.g., a designated buffer of) the memory sub-system when the hostmemory region description data cannot, thereby obviating the need forthe memory sub-system to repeatedly access (e.g., read and traverse) thehost memory region description data (e.g., over a PCIe data bus betweenthe host system and the memory sub-system). Additionally, by identifyingcontiguous memory regions, an embodiment can enable larger datatransfers that improve data bus efficiency between the host system andthe memory sub-system.

As used herein, a memory region can comprise a region of memory space ona memory device (e.g., local memory) of a host system. A memory regioncan be used as a buffer space on the host system for receiving requestedread data from a memory sub-system, or a buffer space on the host systemfor providing data to be written to a memory sub-system. As used herein,memory region description data can describe (e.g., as a list) one ormore memory regions on a host system in connection with a request from ahost system to a memory sub-system. For instance, memory regiondescription data can comprise an entry or descriptor for each memoryregion. Each entry/descriptor can define a separate memory region by amemory address corresponding to a memory address space (for theindividual memory region) on the memory (e.g., the local memory) of thehost system, and by a memory size (e.g., size value) of the memoryaddress space. Individual memory regions described by memory regiondescription data can vary in size. The memory region description datacan be implemented as a linked list of memory region descriptors. Anexample of memory region description data can include, withoutlimitation, an SGL associated with a request sent by a host system to amemory sub-system.

Disclosed herein are some examples of performing a memory operationbased on consolidated data describing one or more memory regions on ahost system, as described herein.

FIG. 1 illustrates an example computing system 100 that includes amemory sub-system 110, in accordance with some embodiments of thepresent disclosure. The memory sub-system 110 can include media, such asone or more volatile memory devices (e.g., memory device 140), one ormore non-volatile memory devices (e.g., memory device 130), or acombination of such.

A memory sub-system 110 can be a storage device, a memory module, or ahybrid of a storage device and memory module. Examples of a storagedevice include a solid-state drive (SSD), a flash drive, a universalserial bus (USB) flash drive, a secure digital (SD) card, an embeddedMulti-Media Controller (eMMC) drive, a Universal Flash Storage (UFS)drive, and a hard disk drive (HDD). Examples of memory modules include adual in-line memory module (DIMM), a small outline DIMM (SO-DIMM), andvarious types of non-volatile dual in-line memory module (NVDIMM).

The computing system 100 can be a computing device such as a desktopcomputer, laptop computer, network server, mobile device, a vehicle(e.g., airplane, drone, train, automobile, or other conveyance).Internet of Things (IoT) enabled device, embedded computer (e.g., oneincluded in a vehicle, industrial equipment, or a networked commercialdevice), or such computing device that includes memory and a processingdevice.

The computing system 100 can include a host system 120 that is coupledto one or more memory sub-systems 110. In some embodiments, the hostsystem 120 is coupled to different types of memory sub-systems 110. FIG.1 illustrates one example of a host system 120 coupled to one memorysub-system 110. As used herein, “coupled to” or “coupled with” generallyrefers to a connection between components, which can be an indirectcommunicative connection or direct communicative connection (e.g.,without intervening components), whether wired or wireless, includingconnections such as electrical, optical, magnetic, and the like.

The host system 120 can include a processor chipset and a software stackexecuted by the processor chipset. The processor chipset can include oneor more cores, one or more caches, a memory controller (e.g., NVDIMMcontroller), and a storage protocol controller (e.g., a peripheralcomponent interconnect express (PCIe) controller, serial advancedtechnology attachment (SATA) controller). The host system 120 uses thememory sub-system 110, for example, to write data to the memorysub-system 110 and read data from the memory sub-system 110.

The host system 120 can be coupled to the memory sub-system 110 via aphysical host interface. Examples of a physical host interface include,but are not limited to, a SATA interface, a peripheral componentinterconnect express (PCIe) interface, universal serial bus (USB)interface, Fibre Channel. Serial Attached SCSI (SAS), Small ComputerSystem Interface (SCSI), a double data rate (DDR) memory bus, a dualin-line memory module (DIMM) interface (e.g., DIMM socket interface thatsupports Double Data Rate (DDR)), Open NAND Flash Interface (ONFI).Double Data Rate (DDR), Low Power Double Data Rate (LPDDR), or any otherinterface. The physical host interface can be used to transmit databetween the host system 120 and the memory sub-system 110. The hostsystem 120 can further utilize an NVM Express (NVMe) interface to accesscomponents (e.g., memory devices 130) when the memory sub-system 110 iscoupled with the host system 120 by the PCIe interface. The physicalhost interface can provide an interface for passing control, address,data, and other signals between the memory sub-system 110 and the hostsystem 120. FIG. 1 illustrates a memory sub-system 110 as an example. Ingeneral, the host system 120 can access multiple memory sub-systems viaa same communication connection, multiple separate communicationconnections, and/or a combination of communication connections.

The memory devices 130,140 can include any combination of the differenttypes of non-volatile memory devices and/or volatile memory devices. Thevolatile memory devices (e.g., memory device 140) can be, but are notlimited to, random access memory (RAM), such as dynamic random accessmemory (DRAM) and synchronous dynamic random access memory (SDRAM).

Some examples of non-volatile memory devices (e.g., memory device 130)include a negative-and (NAND) type flash memory and write-in-placememory, such as a three-dimensional cross-point (“3D cross-point”)memory device, which is a cross-point array of non-volatile memorycells. A cross-point array of non-volatile memory can perform bitstorage based on a change of bulk resistance, in conjunction with astackable cross-gridded data access array. Additionally, in contrast tomany flash-based memories, cross-point non-volatile memory can perform awrite in-place operation, where a non-volatile memory cell can beprogrammed without the non-volatile memory cell being previously erased.NAND type flash memory includes, for example, two-dimensional NAND (2DNAND) and three-dimensional NAND (3D NAND).

Each of the memory devices 130 can include one or more arrays of memorycells. One type of memory cell, for example, SLCs, can store one bit percell. Other types of memory cells, such as multi-level cells (MLCs),TLCs, quad-level cells (QLCs), and penta-level cells (PLCs), can storemultiple bits per cell. In some embodiments, each of the memory devices130 can include one or more arrays of memory cells such as SLCs, MLCs,TLCs, QLCs. or any combination of such. In some embodiments, aparticular memory device can include an SLC portion, and an MLC portion,a TLC portion, or a QLC portion of memory cells. The memory cells of thememory devices 130 can be grouped as pages that can refer to a logicalunit of the memory device used to store data. With some types of memory(e.g., NAND), pages can be grouped to form blocks.

Although non-volatile memory components such as NAND type flash memory(e.g., 2D NAND, 3D NAND) and 3D cross-point array of non-volatile memorycells are described, the memory device 130 can be based on any othertype of non-volatile memory, such as read-only memory (ROM), phasechange memory (PCM), self-selecting memory, other chalcogenide basedmemories, ferroelectric transistor random-access memory (FeTRAM),ferroelectric random access memory (FeRAM), magneto random access memory(MRAM). Spin Transfer Torque (STT)-MRAM, conductive bridging RAM(CBRAM), resistive random access memory (RRAM), oxide based RRAM(OxRAM), negative-or (NOR) flash memory, and electrically erasableprogrammable read-only memory (EEPROM).

A memory sub-system controller 115 (or controller 115 for simplicity)can communicate with the memory devices 130 to perform operations suchas reading data, writing data, or erasing data at the memory devices 130and other such operations. The memory sub-system controller 115 caninclude hardware such as one or more integrated circuits and/or discretecomponents, a buffer memory, or a combination thereof. The hardware caninclude digital circuitry with dedicated (i.e., hard-coded) logic toperform the operations described herein. The memory sub-systemcontroller 115 can be a microcontroller, special purpose logic circuitry(e.g., a field programmable gate array (FPGA), an application specificintegrated circuit (ASIC), etc.), or other suitable processor.

The memory sub-system controller 115 can include a processor (processingdevice) 117 configured to execute instructions stored in local memory119. In the illustrated example, the local memory 119 of the memorysub-system controller 115 includes an embedded memory configured tostore instructions for performing various processes, operations, logicflows, and routines that control operation of the memory sub-system 110,including handling communications between the memory sub-system 110 andthe host system 120.

In some embodiments, the local memory 119 can include memory registersstoring memory pointers, fetched data, and so forth. The local memory119 can also include read-only memory (ROM) for storing micro-code.While the example memory sub-system 110 in FIG. 1 has been illustratedas including the memory sub-system controller 115, in another embodimentof the present disclosure, a memory sub-system 110 does not include amemory sub-system controller 115, and can instead rely upon externalcontrol (e.g., provided by an external host, or by a processor orcontroller separate from the memory sub-system).

In general, the memory sub-system controller 115 can receive commands oroperations from the host system 120 and can convert the commands oroperations into instructions or appropriate commands to achieve thedesired access to the memory devices 130 and/or the memory device 140.The memory sub-system controller 115 can be responsible for otheroperations such as wear leveling operations, garbage collectionoperations, error detection and error-correcting code (ECC) operations,encryption operations, caching operations, and address translationsbetween a logical address (e.g., logical block address (LBA), namespace)and a physical memory address (e.g., physical block address) that areassociated with the memory devices 130. The memory sub-system controller115 can further include host interface circuitry to communicate with thehost system 120 via the physical host interface. The host interfacecircuitry can convert the commands received from the host system 120into command instructions to access the memory devices 130 and/or thememory device 140 as well as convert responses associated with thememory devices 130 and/or the memory device 140 into information for thehost system 120.

The memory sub-system 110 can also include additional circuitry orcomponents that are not illustrated. In some embodiments, the memorysub-system 110 can include a cache or buffer (e.g., DRAM) and addresscircuitry (e.g., a row decoder and a column decoder) that can receive anaddress from the memory sub-system controller 115 and decode the addressto access the memory devices 130.

In some embodiments, the memory devices 130 include local mediacontrollers 135 that operate in conjunction with memory sub-systemcontroller 115 to execute operations on one or more memory cells of thememory devices 130. An external controller (e.g., memory sub-systemcontroller 115) can externally manage the memory device 130 (e.g.,perform media management operations on the memory device 130). In someembodiments, a memory device 130 is a managed memory device, which is araw memory device combined with a local controller (e.g., local mediacontroller 135) for media management within the same memory devicepackage. An example of a managed memory device is a managed NAND (MNAND)device.

The memory sub-system controller 115 includes a memory regiondescription data consolidator 113 that enables or facilitates variousmethodologies described herein on the memory sub-system 110. Forinstance, the memory region description data consolidator 113 can causethe memory sub-system controller 115 to generate consolidated memoryregion description data, on the memory sub-system 110, based on hostmemory region description data provided by the host system 120 inassociation with a request to read data from, or write data to, thememory sub-system 110. Additionally, the memory region description dataconsolidator 113 can cause the memory sub-system controller 115 toperform a read operation or a write operation, in response to therequest, based on the generated consolidated memory region descriptiondata.

For some embodiments, the host system 120 sends a request (e.g.,command) to the memory sub-system 110 to read requested data from amemory location on the memory sub-system 110 corresponding to a memoryaddress (e.g., logical block address), or to write data to a memorylocation on the memory sub-system 110 corresponding to a memory address.In association with the request, the host system 120 can create or setupa set of memory regions (e.g., buffers) on the host system 120, such onlocal memory of the host system 120, to facilitate sending (e.g.,transfer) of the requested data from the memory sub-system 110 to thehost system 120 in response to the request. Additionally, in associationwith the request, the host system 120 can generate host memory regiondescription data (e.g., SGL for the request) that describes the set ofmemory regions created/setup on the host system 120. For variousembodiments, the host memory region description data is generated andstored on a memory (e.g., the local memory) of the host system 120.After receiving the request, the memory sub-system 110 can directlyaccess the host memory region description data from the host system 120(e.g., over a data bus, such as a PCIe bus) as needed by the memorysub-system 110 to perform the request. Generally, the data size of hostmemory region description data can render it impractical for the memorysub-system 110 to locally store all of the host memory regiondescription data on a buffer of the memory sub-system 110 at once,especially when the memory sub-system 110 is concurrently handlingmultiple requests that each have an associated host memory regiondescription data.

In response to the request, the memory region description dataconsolidator 113 can cause the memory sub-system controller 115 toaccess the host memory region description data (e.g., SGL) from the hostsystem 120. The host memory region description data can be separate fromthe request received by the memory sub-system 110, stored on host-sidememory (e.g., local memory) of the host system 120, and buffered on thememory sub-system 110 as the host memory region description data isaccessed by the memory sub-system 110 from the host system 120. The hostmemory region description data can be accessed by the memory sub-system110 over a data bus (e.g., PCIe bus) between the host system 120 andmemory sub-system 110.

The memory region description data consolidator 113 can cause the memorysub-system controller 115 to generate consolidated memory regiondescription data based on host memory region description data accessedby the memory sub-system 110 from the host system 120. As describedherein, the host memory region description data can be larger in datasize than a buffer used on the memory sub-system 110 to store such dataon the memory sub-system 110. In particular, the memory regiondescription data consolidator 113 can cause the memory sub-systemcontroller 115 to identify one or more contiguous memory regions in aset of memory regions described by the host memory region descriptiondata, where each contiguous memory region is comprises two or morememory regions in the set of memory regions that are locatedsequentially adjacent on (e.g., the local memory of) the host system120. For some embodiments, the consolidated memory region descriptiondata comprises a single descriptor (e.g., memory region descriptor) foreach contiguous memory region identified in the list of memory regionsdescribed by the host memory region description data, and comprises asingle memory descriptor for each memory region in the set of memoryregions that is not part of one of the identified contiguous memoryregions. In this way, the consolidated memory region description datacan represent a simplified version of the host memory region descriptiondata provided by the host system.

According to various embodiments, the consolidated memory regiondescription data generated is smaller in data size than the host memoryregion description data, and can have a data size that permits it to bestored entirely on the buffer of the memory sub-system 110. By havingthe consolidated memory region description data entirely stored on thememory sub-system 110, the memory sub-system 110 can locally access theconsolidated memory region description data as the memory sub-system 110sends portions of the requested data to memory regions on the hostsystem 120 described by the consolidated memory region description data.This can enable the memory sub-system controller 115 to traverse theconsolidated memory region description data faster than the host memoryregion description data. With local access of the consolidated memoryregion description data, the memory sub-system 110 can avoid theoverhead of repeated access (and buffering) of the host memory regiondescription data from the host system 120 as the memory sub-system 110sends portions of the requested data to memory regions on the hostsystem 120. Additionally, by identifying contiguous memory regions, theconsolidated memory region description data can enable the memorysub-system controller 115 to perform larger data sends (e.g., renderbetter use of Transaction Layer Packets (TLPs) sent over a PCIe bus)that improve data bus efficiency between the host system 120 and thememory sub-system 110.

For some embodiments, the memory region description data consolidator113 causes the memory sub-system controller 115 to perform a readoperation or a write operation, in response to the request, based on thegenerated consolidated memory region description data. In particular,the memory region description data consolidator 113 causes the memorysub-system controller 115 to send, to one or more of the memory devices130, 140, a set of read commands for a set of logical block addresseswhere the requested data is stored on the memory sub-system 110, or aset of write commands for a set of logical block addresses where data(e.g., provided by the host system 120) is to be stored on the memorysub-system 110. With respect to a read request, the memory sub-systemcontroller 115 can receive select data from one of the memory devices130, 140 in response to one of the read commands (in the set of readcommands) that is associated with a select logical block address in theset of logical addresses. In response to receiving the select data, thememory sub-system controller 115 can determine one or more select memoryregions of the host system 120, described in the consolidated memoryregion description data, that are to receive the select data from thememory sub-system 110. With respect to a write request, the memorysub-system controller 115 can determine one or more select memoryregions of the host system 120, described in the consolidated memoryregion description data, that are to provide select data to be writtento one or more of the memory devices 130, 140 via the set of writecommands.

Determining the one or more select memory regions of the host system 120can comprise determining (e.g., calculating) one or more ranges of hostmemory addresses, corresponding to the one or more select memoryregions, based on the consolidated memory region description data. Theconsolidate memory region can be stored on, for example, a buffer orlocal memory of the memory sub-system 110, such as the local memory 119of the memory sub-system controller 115. The consolidated memory regiondescription data can comprise a set of memory region descriptorsdescribing a start address and memory size for each memory region, whichthe memory sub-system controller 115 can use to calculate one or morehost memory addresses in view of the select logical block addressassociated with the select data received from one of the memory devices130, 140. Specifically, the consolidated memory region description datacan be indexed by a logical block address, which can facilitatedetermination of the host memory address. Eventually, the memorysub-system controller 115 can send the select data to a location on thelocal memory corresponding to the host memory address. The location onthe local memory can correspond to a location within a memory regiondescribed by the consolidated memory region description data. The memorysub-system controller 115 can receive select data (representing aportion of the requested data) in response to each read command sent tothe one or more memory devices 130, 140 and, for each of those selectdata received, the memory sub-system controller 115 can determine a hostmemory address and send the select data to a location (on the localmemory of the host system 120) corresponding to the determined hostmemory address. The select data can be sent to location on the localmemory, for example, using a single Transaction Layer Packet (TLP) thatcomprises the select data, where the single TLP can be in accordancewith a Peripheral Component Interconnect Express (PCIe) standard.

FIGS. 2 and 3 are flow diagrams of example methods for performing amemory operation based on consolidated data describing one or morememory regions on a host system, in accordance with some embodiments ofthe present disclosure. The methods 200, 300 can be performed byprocessing logic that can include hardware (e.g., processing device,circuitry, dedicated logic, programmable logic, microcode, hardware of adevice, integrated circuit, etc.), software (e.g., instructions run orexecuted on a processing device), or a combination thereof. In someembodiments, at least one of the methods 200, 300 is performed by thememory sub-system controller 115 of FIG. 1 based on the memory regiondescription data consolidator 113. Additionally, or alternatively, forsome embodiments, at least one of the methods 200, 300 is performed, atleast in part, by the local media controller 135 of the memory device130 of FIG. 1. Although shown in a particular sequence or order, unlessotherwise specified, the order of the processes can be modified. Thus,the illustrated embodiments should be understood only as examples, andthe illustrated processes can be performed in a different order, andsome processes can be performed in parallel. Additionally, one or moreprocesses can be omitted in various embodiments. Thus, not all processesare used in every embodiment. Other process flows are possible.

Referring now to the method 200 of FIG. 2, at operation 202, aprocessing device (e.g., the processor 117 of the memory sub-systemcontroller 115) receiving, at a memory system (e.g., 130), a requestfrom a host system (e.g., 120) to read requested data stored on thememory system (e.g., 110) or write data to the memory system. Therequest can be a specific type of read or write request that uses memoryregions, such as an SGL read command/request. For some embodiments, therequest from the host system specifies host memory region descriptiondata associated with the request. For instance, the request can specify(e.g., via a pointer to a memory location) where on the host system thehost memory region description data is stored or can be accessible from.For some embodiments, each request to the memory system (e.g., 110) canbe associated with its own host memory region description data.According to various embodiments, the host memory region descriptiondata describes a set of individual memory regions, of local memory ofthe host system, to be used by the memory system (e.g., as buffers) tosend the requested data to the host system. In this way, each of memoryregions can be used as a host-side buffer on the host system (e.g., 120)to receive the requested data from the memory system (e.g., 110). Thehost memory region description data can comprise a linked-list of memoryregion descriptors, where each memory region descriptor comprises amemory address (e.g., a pointer to the memory address) that correspondsto a memory address space on the local memory of the host system. Asdescribed herein, the host memory region description data can comprisean SGL associated with the request, where the SGL is in accordance witha Non-Volatile Memory Express (NVMe) protocol. The host memory regiondescription data can be generated by the host system (e.g., 120) inconnection with the request, and can stored the generated host memoryregion description data on memory that is local to the host system(e.g., local memory of the host system 120), where the memory can beaccessed by the memory system (e.g., 110).

In response to the request, at operation 204, the processing device(e.g., 117) generates consolidated memory region description data basedon the host memory region description data provided to the memory system(e.g., 110) by the host system (e.g., 120). For some embodiments, theconsolidated memory region description data is generated by identifying(in the set of individual memory regions) a set of contiguous memoryregions where each contiguous memory region comprises two or moresequentially adjacent memory regions of the set of individual memoryregions described by the host memory region description data. For someembodiments, individual contiguous memory regions in the set ofindividual memory regions are identified as the host memory regiondescription data is accessed from the host system. Each contiguousmemory region can represent a largest sequence of adjacent memoryregions. The two or more sequentially adjacent memory regions can betreated as a contiguous memory region. For various embodiments, theconsolidated memory region description data comprises a singledescriptor for each contiguous memory region in the set of contiguousmemory region, and a single descriptor for each individual memory regionof the set of individual memory regions that is excluded from (e.g., notpart of any contiguous memory region in) the set of contiguous memoryregions. For some embodiments, a new descriptor is generated in theconsolidated memory region description data for each contiguous memoryregion in the identified set of contiguous memory region, while each ofthe other single descriptors in the consolidated memory regiondescription data (for other memory regions not part of any contiguousmemory region) can copied from the host memory region description data.For some embodiments, the consolidated memory region description data isindexed by a logical block address, which can facilitate determinationof the host memory address. Each memory region described in theconsolidated memory region description data can be defined by a startmemory address corresponding to an individual memory address space (onthe local memory of the host system) and a memory size of the individualmemory address space. In the consolidated memory region descriptiondata, each start memory address can effectively indicate a break betweenthe prior memory region and a start memory address. After theconsolidated memory region description data has been generated on thememory system (e.g., 110), the processing device can rely on theconsolidated memory region description data (in place of the host memoryregion description data) for processing the request from the hostsystem, thereby obviating the need for the processing device torepeatedly access the host memory region description data as portions ofthe requested data is sent back to the host system (e.g., 120).

At operation 206, the processing device (e.g., 117) performs a memoryoperation, such as a read operation or a write operation, on one or morememory devices (e.g., 130, 140) of the memory system (e.g., 110) basedon the consolidated memory region description data generated on thememory system (e.g., 110). For some embodiments, performing a readoperation on the one or more memory devices (e.g., 130, 140) based onthe consolidated memory region description data comprises: sending(e.g., issuing), to the memory device, a set of read commands (e.g., tenread commands) for a set of logical block addresses (e.g., ten LBAs)where the requested data is stored on the memory system (e.g., 110); andreceiving select data (e.g., data from a select LBA) from the memorydevice in response to a select read command (in the set of readcommands) for a select logical block address in the set of logicaladdresses.

The set of read commands are generated based on the request, andassociated memory address, received from the host system (e.g., 120) byoperation 202. The set of read commands can include one or more readcommands to two or more memory devices of the memory system, and the setof read command can be sent over one or more memory channels to the oneor more memory devices. The one or more memory devices (e.g., 130, 140)can provide a response or result for each of the read commands sent. Theresponses/results can be received randomly and out of order from the oneor more memory devices. In response to the set of read commands, theprocessing device can receive a corresponding set of responses from theone or more memory devices, where each response comprises a selectportion of data for the requested data. Each of the responses canindicate the logical block address that the select portion of requesteddata corresponds to. Each logical block corresponding to a logical blockaddress can comprise, for example, a size of 512 bytes (512 B) or 528bytes (528 B) (e.g., with extended protection information or metadata).

In response to select data received from one of the memory devices(e.g., 130, 140), the processing device can determine one or more selectmemory regions of the host system 120, described in the consolidatedmemory region description data, to receive the select data from thememory sub-system 110. For instance, the processing device can determinethat the select data (e.g., LBA) received from one of the memory devicesis to be sent and saved (e.g., transferred) across two or more memoryregions, where one of the memory regions can receive a portion (e.g.,starting portion, middle portion, or end portion) of the select data.Accordingly, based on the consolidated memory region description data,the memory system can determine (e.g., calculate) one or more ranges ofhost memory addresses, corresponding to the one or more select memoryregions, that will receive the select data. A host memory address cancorrespond to a memory location (on the local memory of the host system)that falls within one of the set of individual memory regionscreated/setup on the host system and originally described by the hostmemory region description data. Eventually, the processing device cansend the select data to one or more memory locations, on the localmemory, corresponding to the ranges of host memory addresses. The selectdata can sent to location on the local memory using a single TLP thatcomprises the select data, where the single TLP is in accordance with aPCIe standard. To achieve more efficient use of a data bus between thememory system and the host system, for some embodiments, the single TLPcomprises the select data and additional data received from the one ormore memory devices in response to another read command, sent to the oneor more memory devices, in association with a second read operationbeing performed on the one or more memory devices in response to asecond request received by the memory system from the host system. Theselect data and the additional data can be destined for sequentiallyadjacent memory regions on the host system. In this way, variousembodiment can optimize PCIe transfers from the memory system to thehost system, and can maximize use of TLPs whenever possible.

For some embodiments, performing a write operation on the one or morememory devices (e.g., 130, 140) based on the consolidated memory regiondescription data comprises: determining one or more select memoryregions of the host system (e.g., 120), described in the consolidatedmemory region description data, where the one or more select memoryregions are storing data to be written to the one or more memory devices(e.g., 130, 140) of the memory system (e.g., 110); retrieving the datafrom the one or more select memory regions; and writing the retrieveddata to the one or more memory devices according to the request from thehost system (e.g., 120). For instance, the processing device can writethe retrieved data to the one or more memory devices by sending (e.g.,issuing) to one or more of the memory devices, a set of write commands(e.g., two write commands) for a set of logical block addresses (e.g.,two LBAs) corresponding to physical location to where a portion of theretrieved data is to be written.

Referring now to the method 300 of FIG. 3, at operation 302, aprocessing device (e.g., the processor 117 of the memory sub-systemcontroller 115) receiving. at a memory system (e.g., 130), a requestfrom a host system (e.g., 120) to read requested data stored on thememory system (e.g., 110) or write data to the memory system. For someembodiments, operation 302 is similar to operation 202 of the method 200described with respect to FIG. 2.

In response to the receiving the request at operation 302, at operation304, the processing device (e.g., 117), accesses the host memory regiondescription data from the host system (e.g., 120). For variousembodiments, the processing device (e.g., 117) accesses the host memoryregion description data from the host system (e.g., 120) over a databus, such as a PCIe bus, which enables the processing devices to pull,read, and traverse the host memory region description data as needed.According to some embodiments, the processing device (e.g., 117)accesses the host memory region description data only once to facilitateoperation 306.

At operation 306, the processing device (e.g., 117) generatesconsolidated memory region description data based on the host memoryregion description data provided to the memory system (e.g., 110) by thehost system (e.g., 120). For some embodiments, operation 306 is similarto operation 204 of the method 200 described with respect to FIG. 2. Asthe consolidated memory region description data generated by operation306, the processing device can store the consolidated memory regiondescription data on a buffer (e.g., 119) of the memory system (e.g.,110) at operation 308.

At operation 310, the processing device (e.g., 117) performs a memoryoperation, such as a read operation or a write operation, on one or morememory devices (e.g., 130, 140) of the memory system (e.g., 110) basedon the consolidated memory region description data generated on thememory system (e.g., 110). For some embodiments, operation 310 issimilar to operation 206 of the method 200 described with respect toFIG. 2.

FIGS. 4 and 5 is are diagrams illustrating examples of generatingconsolidate memory region description data, in accordance with someembodiments of the present disclosure. Though FIGS. 4 and 5 aredescribed with respect to performing a read operation, variousembodiments support performing a write operation using consolidatedmemory region description data in a similar manner. FIG. 4 illustratesexample host memory region description data 402 generated by a hostsystem in connection with a request to read data from a memory system,where the request to read data can comprise multiple LBAs (eight LBAs,1-8) of the memory system, and where each logical block has a size of512 bytes (512 B). The host memory region description data 402 canrepresent an SGL generated by the host system, with each memory region(e.g., SGL buffer) having a separate entry or descriptor in the SGL. Asshown, the host memory region description data 402 describes eightmemory regions, and describes each individual memory region by astarting address (A) of the individual memory region and a memory size(LEN) of the individual memory region. In particular, the host memoryregion description data 402 describes the following list of individualmemory regions: the first memory region (A=0, LEN=32 B); the secondmemory region (A=32. LEN=128 B); the third memory region (A=100. LEN=96B); the fourth memory region (A=196, LEN=256 B); the fifth memory region(A=500, LEN=512 B); the sixth memory region (A=1012, LEN=2048 B); theseventh memory region (A=2036. LEN=1000 B); and the eight memory region(A=3036, LEN=24 B).

Host memory region description data 404 illustrates the host memoryregion description data 402 after one or more contiguous memory regionshave been identified in accordance with some embodiments. In particular,the following contiguous memory regions are identified in the list ofmemory regions described by the host memory region description data 402:a first contiguous memory region comprising the first memory region(A=0, LEN=32 B) and the second memory region (A=32, LEN=128 B); a secondcontiguous memory region comprising the third memory region (A=100,LEN=96 B) and the fourth memory region (A=196, LEN=256 B); and a thirdcontiguous memory region comprising the fifth memory region (A=500,LEN=512 B), the sixth memory region (A=1012, LEN=2048 B), and theseventh memory region (A=2036. LEN=1000 B).

Based on the host memory region description data 404 and the one or moreidentified contiguous memory regions, the memory system can generateconsolidated memory region description data 406. In particular, thememory system can generate the consolidated memory region descriptiondata 406 such that there is a single entry/descriptor for each of thefirst, second and third contiguous memory regions, and a singleentry/descriptor for the remaining memory region (the eighth memoryregion) that is not part of any of the identified contiguous memoryregions. As a shown, the consolidated memory region description data 406comprises a single entry/descriptor for each of the following: the firstcontiguous memory region having a starting address of 0 (A=0) and amemory size of 160 B (LEN=160 B); the second contiguous memory regionhaving a starting address of 100 (A=100) and a memory size of 352 B(LEN=352 B); the third contiguous memory region having a startingaddress of 500 (A=500) and a memory size of 4072 B (LEN=4072 B); and theeighth memory region still having a starting address of 3036 (A=3036)and a memory size of 24 B (LEN=24 B), which is the same as described bythe host memory region description data 402.

As described herein, based on the consolidated memory region descriptiondata 406, the memory system can determine (e.g., calculate) one or moreselect memory regions for sending (e.g., transferring) a LBA (receivedfrom/returned by one of the memory devices) to the host system inresponse to the request to read data. For instance, in response to therequest, eight read commands, for eight different LBAs, can be are sentto one or more memory devices of the memory system to retrieve the readdata requested by the host system, where each logical block can have asize of 512 B. As described herein, response/results from the one ormore memory devices can be received out of order (e.g., randomly). Wherethe eight LBA (LBA 8) is returned by the one or more memory devices, thememory system can determine one or more select memory regions of thehost system that are to receive LBA 8. AS described herein, theconsolidated memory region description data 406 can be indexed by theordinal number of the LBA returned by the one or more memory devices.For instance, based on the consolidated memory region description data406, the memory system can determine that a starting host memory addressfor LBA 8 as follows:

500+(8−1)×512B=4084,

where the 8 represents the eighth LBA (LBA 8). Additionally, based onthe consolidated memory region description data 406, the memory systemcan determine: that the host memory address of 4084 falls within thethird contiguous memory region, which has a start memory address of 500and an end memory address of 45721 and that LBA 8 will be sent and saved(e.g., transferred) across the third contiguous memory region (startingat the host memory address of 4084 and ending at the host memory addressof 4572) and the eighth memory region (starting at host memory address4572 and ending at the host memory address of 4596). As a result, thememory system can send (e.g., transfer or move) 488 B of LBA 8 from thememory system to memory space, on the host system, starting at a memorylocation corresponding to host memory address 4084 and ending at amemory location corresponding to host memory address 4572. Additionally,the memory system would send (e.g., transfer or move) the remaining 24 Bof LBA 8 from the memory system to memory space, on the host system,starting at a memory location corresponding to host memory address 4572and ending at a memory location corresponding to host memory address4596.

Continuing with this example, where the first LBA (LBA 1) is returned bythe one or more memory devices, the memory system can determine that thefirst contiguous memory region (starting at the host memory address of 0and ending at the host memory address of 512) of the host system is toreceive LBA 1. In particular, based on the consolidated memory regiondescription data 406, the memory system can determine that a startinghost memory address for LBA 1 as follows:

500+(1−1)×512B=0,

where the 1 represents the eighth LBA (LBA 1). As a result, the memorysystem can send (e.g., transfer or move) 512 B of LBA 1 from the memorysystem to memory space, on the host system, starting at a memorylocation corresponding to host memory address 0 and ending at a memorylocation corresponding to host memory address 512. As shown, sending ofLBA 1 does not cross into another memory region (i.e., LBA 1 fits withinthe first contiguous memory region).

FIG. 5 illustrates example host memory region description data 502generated by a host system in connection with a request to read datafrom a memory system, where the request to read data can comprisemultiple LBAs (three LBAs, 1-3) of the memory system, and where eachlogical block has a size of 528 bytes (528 B). Like the host memoryregion description data 402 of FIG. 4, the host memory regiondescription data 502 can represent an SGL generated by the host system,with each memory region (e.g., SGL buffer) having a separate entry ordescriptor in the SGL. As shown, the host memory region description data502 describes the following list of individual memory regions: the firstmemory region (A=5000, LEN=512 B); the second memory region (A=5512,LEN=16 B); the third memory region (A=6000. LEN=512 B); the fourthmemory region (A=6512, LEN=16 B); the fifth memory region (A=7000.LEN=512 B); and the sixth memory region (A=7512, LEN=512 B).

Host memory region description data 504 (illustrating the host memoryregion description data 502 after one or more contiguous memory regionshave been identified in accordance with some embodiments) identifies thefollowing contiguous memory regions: a first contiguous memory regioncomprising the first memory region (A=5000. LEN=512 B) and the secondmemory region (A=5512. LEN=16 B); a second contiguous memory regioncomprising the third memory region (A=6000, LEN=512 B) and the fourthmemory region (A=6512. LEN=16 B); and a third contiguous memory regioncomprising the fifth memory region (A=7000. LEN=512 B) and the sixthmemory region (A=7512, LEN=512 B).

Based on the host memory region description data 504 and the one or moreidentified contiguous memory regions, the memory system can generateconsolidated memory region description data 506. In particular, thememory system can generate the consolidated memory region descriptiondata 506 such that there is a single entry/descriptor for each of thefirst, second and third contiguous memory regions. As a shown, theconsolidated memory region description data 506 comprises a singleentry/descriptor for each of the following: the first contiguous memoryregion having a starting address of 5000 (A=5000) and a memory size of528 B (LEN=528 B); the second contiguous memory region having a startingaddress of 6000 (A=6000) and a memory size of 528 B (LEN=528 B); and thethird contiguous memory region having a starting address of 7000(A=7000) and a memory size of 528 B (LEN=528 B).

FIG. 6 provide an interaction diagram illustrating interactions betweencomponents of a computing environment in the context of some embodimentsin which a method for performing a memory read performing a memory readoperation based on consolidated data describing one or more memoryregions on a host system as described herein is performed. Though FIG. 6illustrates performing a memory read in accordance with variousembodiments, some embodiments support performing a memory write based onconsolidated data (describing one or more memory regions on a hostsystem) in a similar manner. The operations of the method can beperformed by processing logic that can include hardware (e.g., aprocessing device, circuitry, dedicated logic, programmable logic,microcode, hardware of a device, an integrated circuit, etc.), software(e.g., instructions run or executed on a processing device), or acombination thereof. In some embodiments, the method is performed by ahost system (e.g., 120), a memory sub-system controller (e.g., 115), amemory device (e.g., 130 or 140), or some combination thereof. Althoughthe operations are shown in a particular sequence or order, unlessotherwise specified, the order of the processes can be modified. Thus,the illustrated embodiments should be understood only as examples, andthe illustrated processes can be performed in a different order, andsome processes can be performed in parallel. Additionally, one or moreprocesses can be omitted in various embodiments. Thus, not all processesare used in every embodiment. In the context of the example illustratedin FIG. 6, the host system can include the host system 120, the memorysub-system controller can include the memory sub-system controller 115,and the memory device can include the memory device 140.

As shown in FIG. 6, at operation 602, the memory sub-system controller115 sends a request to read requested data from the memory sub-system110, where the request specifies host memory region description dataassociated with the request, where the host memory region descriptiondata describes a set of individual memory regions, of local memory ofthe host system 120, to be used to send (e.g., transfer) the requesteddata to the host system 120. At operation 610, the memory sub-systemcontroller 115 receives the request from the host system and, inresponse, the memory sub-system controller 115 accesses the host memoryregion description data from the host system 120 (e.g., over PCIe bus)at operation 612. The host system 120, at operation 604, provides thememory sub-system 110 access to the host memory region description datastored on the host system 120.

Based on the accessed host memory region description data, at operation614, the memory sub-system controller 115 generates consolidated memoryregion description data by identifying a set of contiguous memoryregions that each comprise two or more sequentially adjacent memoryregions of the set of individual memory regions (described by theaccessed host memory region description data). The memory sub-systemcontroller 115, at operation 616, performs a read operation on thememory device 140 based on the consolidated memory region descriptiondata generated by the memory sub-system controller 115. At operation630, the memory devices 140 facilitates the read operation by the memorysub-system controller 115, where the memory device 140 can perform oneor more read commands issued to the memory device 140 by the memorysub-system controller 115 in connection with the read operation.Additionally, at operation 606, the host system 120 provides access toone or more memory regions on the host system 120 to facilitatereceiving the requested data (by the memory sub-system controller 115)from the memory sub-system 110 to the host system 120.

FIG. 7 illustrates an example machine in the form of a computer system700 within which a set of instructions can be executed for causing themachine to perform any one or more of the methodologies discussedherein. In some embodiments, the computer system 700 can correspond to ahost system (e.g., the host system 120 of FIG. 1) that includes, iscoupled to, or utilizes a memory sub-system (e.g., the memory sub-system110 of FIG. 1) or can be used to perform the operations describedherein. In alternative embodiments, the machine can be connected (e.g.,networked) to other machines in a local area network (LAN), an intranet,an extranet, and/or the Internet. The machine can operate in thecapacity of a server or a client machine in a client-server networkenvironment, as a peer machine in a peer-to-peer (or distributed)network environment, or as a server or a client machine in a cloudcomputing infrastructure or environment.

The machine can be a personal computer (PC), a tablet PC, a set-top box(STB), a Personal Digital Assistant (PDA), a cellular telephone, a webappliance, a server, a network router, a switch or bridge, or anymachine capable of executing a set of instructions (sequential orotherwise) that specify actions to be taken by that machine. Further,while a single machine is illustrated, the term “machine” shall also betaken to include any collection of machines that individually or jointlyexecute a set (or multiple sets) of instructions to perform any one ormore of the methodologies discussed herein.

The example computer system 700 includes a processing device 702, a mainmemory 704 (e.g., read-only memory (ROM), flash memory, dynamic randomaccess memory (DRAM) such as synchronous DRAM (SDRAM) or Rambus DRAM(RDRAM), etc.), a static memory 706 (e.g., flash memory, static randomaccess memory (SRAM), etc.), and a data storage device 718, whichcommunicate with each other via a bus 730.

The processing device 702 represents one or more general-purposeprocessing devices such as a microprocessor, a central processing unit,or the like. More particularly, the processing device 702 can be acomplex instruction set computing (CISC) microprocessor, a reducedinstruction set computing (RISC) microprocessor, a very long instructionword (VLIW) microprocessor, a processor implementing other instructionsets, or processors implementing a combination of instruction sets. Theprocessing device 702 can also be one or more special-purpose processingdevices such as an application-specific integrated circuit (ASIC), afield programmable gate array (FPGA), a digital signal processor (DSP),a network processor, or the like. The processing device 702 isconfigured to execute instructions 726 for performing the operations andsteps discussed herein. The computer system 700 can further include anetwork interface device 708 to communicate over a network 720.

The data storage device 718 can include a machine-readable storagemedium 724 (also known as a computer-readable medium) on which is storedone or more sets of instructions 726 or software embodying any one ormore of the methodologies or functions described herein. Theinstructions 726 can also reside, completely or at least partially,within the main memory 704 and/or within the processing device 702during execution thereof by the computer system 700, the main memory 704and the processing device 702 also constituting machine-readable storagemedia. The machine-readable storage medium 724, data storage device 718,and/or main memory 704 can correspond to the memory sub-system 110 ofFIG. 1.

In one embodiment, the instructions 726 include instructions toimplement functionality corresponding to performing a memory readperforming a memory read operation based on consolidated data describingone or more memory regions on a host system as described herein (e.g.,the memory region description data consolidator 113 of FIG. 1). Whilethe machine-readable storage medium 724 is shown in an exampleembodiment to be a single medium, the term “machine-readable storagemedium” should be taken to include a single medium or multiple mediathat store the one or more sets of instructions. The term“machine-readable storage medium” shall also be taken to include anymedium that is capable of storing or encoding a set of instructions forexecution by the machine and that cause the machine to perform any oneor more of the methodologies of the present disclosure. The term“machine-readable storage medium” shall accordingly be taken to include,but not be limited to, solid-state memories, optical media, and magneticmedia.

Some portions of the preceding detailed descriptions have been presentedin terms of algorithms and symbolic representations of operations ondata bits within a computer memory. These algorithmic descriptions andrepresentations are the ways used by those skilled in the dataprocessing arts to most effectively convey the substance of their workto others skilled in the art. An algorithm is here, and generally,conceived to be a self-consistent sequence of operations leading to adesired result. The operations are those requiring physicalmanipulations of physical quantities. Usually, though not necessarily,these quantities take the form of electrical or magnetic signals capableof being stored, combined, compared, and otherwise manipulated. It hasproven convenient at times, principally for reasons of common usage, torefer to these signals as bits, values, elements, symbols, characters,terms, numbers, or the like.

It should be borne in mind, however, that all of these and similar termsare to be associated with the appropriate physical quantities and aremerely convenient labels applied to these quantities. The presentdisclosure can refer to the action and processes of a computer system,or similar electronic computing device, that manipulates and transformsdata represented as physical (electronic) quantities within the computersystem's registers and memories into other data similarly represented asphysical quantities within the computer system memories or registers orother such information storage systems.

The present disclosure also relates to an apparatus for performing theoperations herein. This apparatus can be specially constructed for theintended purposes, or it can include a general purpose computerselectively activated or reconfigured by a computer program stored inthe computer. Such a computer program can be stored in acomputer-readable storage medium, such as, but not limited to, any typeof disk including floppy disks, optical disks, CD-ROMs, andmagnetic-optical disks, read-only memories (ROMs), random accessmemories (RAMs). EPROMs, EEPROMs, magnetic or optical cards, or any typeof media suitable for storing electronic instructions, each coupled to acomputer system bus.

The algorithms and displays presented herein are not inherently relatedto any particular computer or other apparatus. Various general purposesystems can be used with programs in accordance with the teachingsherein, or it can prove convenient to construct a more specializedapparatus to perform the method. The structure for a variety of thesesystems will appear as set forth in the description below. In addition,the present disclosure is not described with reference to any particularprogramming language. It will be appreciated that a variety ofprogramming languages can be used to implement the teachings of thedisclosure as described herein.

The present disclosure can be provided as a computer program product, orsoftware, that can include a machine-readable medium having storedthereon instructions, which can be used to program a computer system (orother electronic devices) to perform a process according to the presentdisclosure. A machine-readable medium includes any mechanism for storinginformation in a form readable by a machine (e.g., a computer). In someembodiments, a machine-readable (e.g., computer-readable) mediumincludes a machine (e.g., a computer) readable storage medium such as aread only memory (“ROM”), random access memory (“RAM”), magnetic diskstorage media, optical storage media, flash memory components, etc.

In the foregoing specification, embodiments of the disclosure have beendescribed with reference to specific example embodiments thereof. Itwill be evident that various modifications can be made thereto withoutdeparting from the broader spirit and scope of embodiments of thedisclosure as set forth in the following claims. The specification anddrawings are, accordingly, to be regarded in an illustrative senserather than a restrictive sense.

What is claimed is:
 1. A memory system comprising: a memory device; anda processing device, operatively coupled to the memory device,configured to perform operations comprising: receiving a first requestfrom a host system to read requested first data stored on the memorysystem, the first request specifying first memory region descriptiondata associated with the first request, the first memory regiondescription data describing a first set of individual memory regions, ofthe host system, to which the requested first data is to be sent; and inresponse to the first request: based on the first memory regiondescription data, generating first consolidated memory regiondescription data by identifying a first set of contiguous memory regionsthat each comprise two or more sequentially adjacent memory regions ofthe first set of individual memory regions, the first consolidatedmemory region description data comprising: a single descriptor for eachcontiguous memory region in the first set of contiguous memory regions;and a single descriptor for each individual memory region of the firstset of individual memory regions that is excluded from the first set ofcontiguous memory regions; and performing a first read operation on thememory device based on the first consolidated memory region descriptiondata generated on the memory system.
 2. The memory system of claim 1,wherein the generating the consolidated memory description datacomprises: generating the single descriptor for each contiguous memoryregion in the first set of contiguous memory regions.
 3. The memorysystem of claim 1, wherein the first memory region description data isstored on the host system, the operations comprising: accessing thefirst memory region description data from the host system.
 4. The memorysystem of claim 1, wherein the first memory region description datacomprises a linked-list of memory region descriptors, each memory regiondescriptor comprising a memory address that corresponds to a memoryaddress space on local memory of the host system.
 5. The memory systemof claim 1, wherein the first memory region description data comprises aScatter Gather List (SGL) in accordance with a Non-Volatile MemoryExpress (NVMe) protocol.
 6. The memory system of claim 1, wherein eachindividual memory region of the first set of individual memory regionsis defined by: a memory address corresponding to an individual memoryaddress space on local memory of the host system; and a memory size ofthe individual memory address space.
 7. The memory system of claim 1,wherein each memory region in the first set of memory regions comprisesan individual memory address space on local memory of the host system.8. The memory system of claim 1, wherein the performing the first readoperation on the memory device based on the first consolidated memoryregion description data stored on the memory system comprises: sending,to the memory device, a set of read commands for a set of logical blockaddresses where the requested first data is stored on the memory system;receiving select data from the memory device in response to a selectread command in the set of read commands, the select read command beingfor a select logical block address in the set of logical addresses; andin response to receiving the select data: based on the select logicalblock address and the first consolidated memory region description data,determining a set of select memory regions on the host system to receivethe select data; and sending the select data to the set of select memoryregions.
 9. The memory system of claim 8, wherein the select data issent to location on local memory using a single Transaction Layer Packet(TLP) that comprises the select data, the single Transaction LayerPacket being in accordance with a Peripheral Component InterconnectExpress (PCIe) standard.
 10. The memory system of claim 9, wherein thesingle Transaction Layer Packet comprises additional data received fromthe memory device in response to another read command sent to the memorydevice, the other read command being associated with a second readoperation being performed on the memory device, the second readoperation being performed in response to a second request received bythe memory system from the host system.
 11. The memory system of claim1, wherein the operations comprise: receiving a second request to readrequested second data stored on the memory system, the second requestspecifying second memory region description data associated with thesecond request, the second memory region description data describing asecond set of individual memory regions, of the host system, to whichthe requested second data is to be sent; and in response to the secondrequest: generating second consolidated memory region description databy identifying a second set of contiguous memory regions that eachcomprise two or more sequentially adjacent memory regions of the firstset of individual memory regions, the second consolidated memory regiondescription data comprising: a single descriptor for each contiguousmemory region in the second set of contiguous memory regions; and asingle descriptor for each individual memory region of the second set ofindividual memory regions that is excluded from the second set ofcontiguous memory regions: and performing a second read operation on thememory device based on the second consolidated memory region descriptiondata stored on the memory system.
 12. The memory system of claim 1,wherein the rust memory region description data is generated by the hostsystem for the first request.
 13. The memory system of claim 1, whereinthe identifying the first set of contiguous memory regions comprisesidentifying individual contiguous memory regions in the first set ofindividual memory regions as the first memory region description data isaccessed from the host system.
 14. The memory system of claim 1,comprising: a buffer to store the first set of memory region descriptorsgenerated by the memory system.
 15. The memory system of claim 14,comprising: a memory controller that comprises the processing device andthe buffer.
 16. A method comprising: receiving, at a memory system, arequest from a host system to read requested data stored on the memorysystem, the request specifying host memory region description dataassociated with the request, the host memory region description datadescribing a set of individual memory regions, of the host system, towhich the requested data is to be sent; and in response to the request:accessing the host memory region description data from the host system;generating consolidated memory region description data by identifying aset of contiguous memory regions that each comprise two or moresequentially adjacent memory regions of the set of individual memoryregions, the consolidated memory region description data comprising: asingle descriptor for each contiguous memory region in the set ofcontiguous memory regions; and a single descriptor for each individualmemory region of the set of individual memory regions that is excludedfrom the set of contiguous memory regions; and storing the consolidatedmemory region description data on a buffer of the memory system.
 17. Themethod of claim 16, comprising, in response to the request: performing aread operation on a memory device of the memory system based on theconsolidated memory region description data stored on the buffer. 18.The method of claim 16, wherein the host memory region description datacomprises a linked-list of memory region descriptors, each memory regiondescriptor comprising a memory address that corresponds to a memoryaddress space on local memory of the host system.
 19. The method ofclaim 16, wherein the host memory region description data comprises aScatter Gather List (SGL) in accordance with a Non-Volatile MemoryExpress (NVMe) protocol.
 20. At least one non-transitorymachine-readable storage medium comprising instructions that, whenexecuted by a processing device of a memory system, cause the processingdevice to perform operations comprising: receiving a request from a hostsystem to read requested data stored on the memory system, the requestspecifying host memory region description data associated with therequest, the host memory region description data describing a set ofindividual memory regions, of the host system, to which the requesteddata is to be sent; and in response to the request: based on the hostmemory region description data, generating consolidated memory regiondescription data by identifying a set of contiguous memory regions thateach comprise two or more sequentially adjacent memory regions of theset of individual memory regions, the consolidated memory regiondescription data comprising: a single descriptor for each contiguousmemory region in the set of contiguous memory regions; and a singledescriptor for each individual memory region of the set of individualmemory regions that is excluded from the set of contiguous memoryregions; and storing the consolidated memory region description data ona buffer of the memory system.